package com.sk.cardeal.entity;

import java.util.List;

/**
 * Created by sk on 2018/4/26.
 */

public class OutOrInEntity {
    /**
     * type : 1
     * userid : 402880eb60d9ad290160d9ae4c5d0001
     * warehouseId_kw : 402880eb60df5b270160df5e09880002
     * lackpurchaseId : 3
     * goodsCode_List : [{"partId":"297ebd7261d519050161d51ab580000a","quality":1,"price":200.5,"number":2}]
     */

    private int type;
    private String userid;
    private String warehouseId_kw;
    private String lackpurchaseId;
    private List<GoodsCodeListBean> goodsCode_List;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getWarehouseId_kw() {
        return warehouseId_kw;
    }

    public void setWarehouseId_kw(String warehouseId_kw) {
        this.warehouseId_kw = warehouseId_kw;
    }

    public String getLackpurchaseId() {
        return lackpurchaseId;
    }

    public void setLackpurchaseId(String lackpurchaseId) {
        this.lackpurchaseId = lackpurchaseId;
    }

    public List<GoodsCodeListBean> getGoodsCode_List() {
        return goodsCode_List;
    }

    public void setGoodsCode_List(List<GoodsCodeListBean> goodsCode_List) {
        this.goodsCode_List = goodsCode_List;
    }

    public static class GoodsCodeListBean {
        /**
         * partId : 297ebd7261d519050161d51ab580000a
         * quality : 1
         * price : 200.5
         * number : 2
         */

        private String partId;
        private int quality;
        private double price;
        private int number;

        public String getPartId() {
            return partId;
        }

        public void setPartId(String partId) {
            this.partId = partId;
        }

        public int getQuality() {
            return quality;
        }

        public void setQuality(int quality) {
            this.quality = quality;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public int getNumber() {
            return number;
        }

        public void setNumber(int number) {
            this.number = number;
        }
    }
}
